package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbQuestionAccessRecord;
import com.quanyan.user.model.db.TbQuestionAccessRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbQuestionAccessRecordMapper {
    int countByExample(TbQuestionAccessRecordExample example);

    int deleteByExample(TbQuestionAccessRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbQuestionAccessRecord record);

    int insertSelective(TbQuestionAccessRecord record);

    List<TbQuestionAccessRecord> selectByExample(TbQuestionAccessRecordExample example);

    TbQuestionAccessRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbQuestionAccessRecord record, @Param("example") TbQuestionAccessRecordExample example);

    int updateByExample(@Param("record") TbQuestionAccessRecord record, @Param("example") TbQuestionAccessRecordExample example);

    int updateByPrimaryKeySelective(TbQuestionAccessRecord record);

    int updateByPrimaryKey(TbQuestionAccessRecord record);
}